package com.itaem.community.modules.infrastructure.company.company.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * <p>项目名称: community </p>
 * <p>文件名称: CompanyCreateDTO </p>
 * <p>描述: [类型描述] </p>
 * <p>创建时间: 2020/10/31 </p>
 * <p>作者信息: tomato</p>
 *
 * @author tomato
 * @version v1.0
 */
@Data
@NotNull(message = "请上传数据")
@ApiModel("物业公司信息注册实体")
public class CompanyCreateDTO {

    @NotBlank(message = "物业公司名不能为空")
    @ApiModelProperty(value = "要注册的物业公司名")
    private String companyName;
}
